const ejs = require('ejs');

ejs.renderFile('./ejs/1.html', {
    a: 12,
    b: 5,
    str: '<strong>aaabbbcccsss</strong>',
    arr: [1,2,3,4,5],
    footer: './common/footer.html',
}).then(data => {
    console.log(data);
}, err => {
    console.log(err);
});